package com.lcf.system.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 订单(UserOrder)表实体类
 *
 * @author lcf
 * @since 2025-04-24 21:14:33
 */
@Data
@NoArgsConstructor
public class UserOrderVO {
    //id
    @Schema(description = "id")
    private Long id;
    //订单编号
    @Schema(description = "订单编号")
    private String orderNo;
    //订单时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @Schema(description = "订单时间")
    private LocalDateTime orderTime;
    //订单状态1待付款2待发货3待收货4待评价5已退款
    @Schema(description = "订单状态1待付款2待发货3待收货4待评价5已退款")
    private Integer orderStatus;
    //订单商品
    @Schema(description = "订单商品")
    private List<OrderGoodsVO> orderGoods;
}

